package com.example.tg.Dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import pojo.Supplier;

import java.util.List;

@Mapper
@Repository
public interface SupplierMapper {
    int addSp(Supplier supplier);
    int deleSp(int id);
    int updaSp(Supplier supplier);
    List listSp(String name);
    int contSp();
    List nameSp();
    Supplier showSp(Integer id);
    Supplier showSp2(String name);
}
